package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.system.util.InsuranceRecordStatusEnum;

public class InsuranceRecord implements Serializable {
    private static final long serialVersionUID = -8346167758968341994L;

    /**
     * This field corresponds to the database column insurance_record.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column insurance_record.insurance_id
     */
    private Integer insuranceId = 0;

    /**
     * This field corresponds to the database column insurance_record.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column insurance_record.policy_holder_user_id
     */
    private Integer policyHolderUserId = 0;

    /**
     * This field corresponds to the database column insurance_record.beneficiary_user_id
     */
    private Integer beneficiaryUserId = 0;

    /**
     * This field corresponds to the database column insurance_record.insured_user_id
     */
    private Integer insuredUserId = 0;

    /**
     * This field corresponds to the database column insurance_record.channel_order_no
     */
    private String channelOrderNo;

    /**
     * This field corresponds to the database column insurance_record.premium
     */
    private Double premium;

    /**
     * This field corresponds to the database column insurance_record.start_date
     */
    private Date startDate = new Date();

    /**
     * This field corresponds to the database column insurance_record.end_date
     */
    private Date endDate = new Date();

    /**
     * This field corresponds to the database column insurance_record.create_time
     */
    private Date createTime = new Date();

    /**
     * This field corresponds to the database column insurance_record.pay_type
     */
    private Integer payType = 0;

    /**
     * This field corresponds to the database column insurance_record.policy_id
     */
    private Integer policyId = 0;

    /**
     * This field corresponds to the database column insurance_record.policy_no
     */
    private String policyNo;

    /**
     * This field corresponds to the database column insurance_record.effect_time
     */
    private Date effectTime;

    /**
     * This field corresponds to the database column insurance_record.status
     */
    private Integer status = InsuranceRecordStatusEnum.INVALID.getId();

    /**
     * This method returns the value of the database column insurance_record.id
     *
     * @return the value of insurance_record.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column insurance_record.id
     *
     * @param id the value for insurance_record.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column insurance_record.insurance_id
     *
     * @return the value of insurance_record.insurance_id
     */
    public Integer getInsuranceId() {
        return insuranceId;
    }

    /**
     * This method sets the value of the database column insurance_record.insurance_id
     *
     * @param insuranceId the value for insurance_record.insurance_id
     */
    public void setInsuranceId(Integer insuranceId) {
        this.insuranceId = insuranceId;
    }

    /**
     * This method returns the value of the database column insurance_record.user_id
     *
     * @return the value of insurance_record.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column insurance_record.user_id
     *
     * @param userId the value for insurance_record.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column insurance_record.policy_holder_user_id
     *
     * @return the value of insurance_record.policy_holder_user_id
     */
    public Integer getPolicyHolderUserId() {
        return policyHolderUserId;
    }

    /**
     * This method sets the value of the database column insurance_record.policy_holder_user_id
     *
     * @param policyHolderUserId the value for insurance_record.policy_holder_user_id
     */
    public void setPolicyHolderUserId(Integer policyHolderUserId) {
        this.policyHolderUserId = policyHolderUserId;
    }

    /**
     * This method returns the value of the database column insurance_record.beneficiary_user_id
     *
     * @return the value of insurance_record.beneficiary_user_id
     */
    public Integer getBeneficiaryUserId() {
        return beneficiaryUserId;
    }

    /**
     * This method sets the value of the database column insurance_record.beneficiary_user_id
     *
     * @param beneficiaryUserId the value for insurance_record.beneficiary_user_id
     */
    public void setBeneficiaryUserId(Integer beneficiaryUserId) {
        this.beneficiaryUserId = beneficiaryUserId;
    }

    /**
     * This method returns the value of the database column insurance_record.insured_user_id
     *
     * @return the value of insurance_record.insured_user_id
     */
    public Integer getInsuredUserId() {
        return insuredUserId;
    }

    /**
     * This method sets the value of the database column insurance_record.insured_user_id
     *
     * @param insuredUserId the value for insurance_record.insured_user_id
     */
    public void setInsuredUserId(Integer insuredUserId) {
        this.insuredUserId = insuredUserId;
    }

    /**
     * This method returns the value of the database column insurance_record.channel_order_no
     *
     * @return the value of insurance_record.channel_order_no
     */
    public String getChannelOrderNo() {
        return channelOrderNo;
    }

    /**
     * This method sets the value of the database column insurance_record.channel_order_no
     *
     * @param channelOrderNo the value for insurance_record.channel_order_no
     */
    public void setChannelOrderNo(String channelOrderNo) {
        this.channelOrderNo = channelOrderNo;
    }

    /**
     * This method returns the value of the database column insurance_record.premium
     *
     * @return the value of insurance_record.premium
     */
    public Double getPremium() {
        return premium;
    }

    /**
     * This method sets the value of the database column insurance_record.premium
     *
     * @param premium the value for insurance_record.premium
     */
    public void setPremium(Double premium) {
        this.premium = premium;
    }

    /**
     * This method returns the value of the database column insurance_record.start_date
     *
     * @return the value of insurance_record.start_date
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * This method sets the value of the database column insurance_record.start_date
     *
     * @param startDate the value for insurance_record.start_date
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * This method returns the value of the database column insurance_record.end_date
     *
     * @return the value of insurance_record.end_date
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * This method sets the value of the database column insurance_record.end_date
     *
     * @param endDate the value for insurance_record.end_date
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * This method returns the value of the database column insurance_record.create_time
     *
     * @return the value of insurance_record.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column insurance_record.create_time
     *
     * @param createTime the value for insurance_record.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column insurance_record.pay_type
     *
     * @return the value of insurance_record.pay_type
     */
    public Integer getPayType() {
        return payType;
    }

    /**
     * This method sets the value of the database column insurance_record.pay_type
     *
     * @param payType the value for insurance_record.pay_type
     */
    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    /**
     * This method returns the value of the database column insurance_record.policy_id
     *
     * @return the value of insurance_record.policy_id
     */
    public Integer getPolicyId() {
        return policyId;
    }

    /**
     * This method sets the value of the database column insurance_record.policy_id
     *
     * @param policyId the value for insurance_record.policy_id
     */
    public void setPolicyId(Integer policyId) {
        this.policyId = policyId;
    }

    /**
     * This method returns the value of the database column insurance_record.policy_no
     *
     * @return the value of insurance_record.policy_no
     */
    public String getPolicyNo() {
        return policyNo;
    }

    /**
     * This method sets the value of the database column insurance_record.policy_no
     *
     * @param policyNo the value for insurance_record.policy_no
     */
    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    /**
     * This method returns the value of the database column insurance_record.effect_time
     *
     * @return the value of insurance_record.effect_time
     */
    public Date getEffectTime() {
        return effectTime;
    }

    /**
     * This method sets the value of the database column insurance_record.effect_time
     *
     * @param effectTime the value for insurance_record.effect_time
     */
    public void setEffectTime(Date effectTime) {
        this.effectTime = effectTime;
    }

    /**
     * This method returns the value of the database column insurance_record.status
     *
     * @return the value of insurance_record.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column insurance_record.status
     *
     * @param status the value for insurance_record.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}